package la.bbs558.entity.params;

import la.bbs558.aop.valid.Valid;
import la.bbs558.entity.BbsClass;
import lombok.Data;

import java.util.List;

/**
 * @author: Shanks
 * @date: 2023/12/16 14:55
 * @desc:
 */
@Data
public class BoardUpdateParams {

    private Long id;

    @Valid(msg = "板块封面不能为空")
    private String cover;

    @Valid(msg = "板块名称不能为空")
    private String boardName;

    @Valid(msg = "logo不能为空")
    private String logo;

    @Valid(msg = "背景图不能为空")
    private String bgImg;

    private String boardDesc;

    private String boardKeywords;

    private List<BbsClass> bbsClassList;
}
